package com.yao.spider.yiyao.dao;

import com.yao.spider.yiyao.bean.YaoZhWang;
import com.yao.spider.yiyao.mapper.YaoYuanWangMapper;
import com.yao.spider.yiyao.mapper.YaoZhWangMapper;
import org.apache.ibatis.session.SqlSession;

import java.util.List;

public class YaoZhWangDaoImpl implements YaoZhWangDao{
    public int insert(YaoZhWang personInfo, SqlSession session) {
        YaoZhWangMapper mapper = session.getMapper(YaoZhWangMapper.class);
        mapper.insert(personInfo);
        session.commit();
        return 1;
    }

    public int batchInsert(List<YaoZhWang> list, SqlSession session) {
        return 0;
    }

    public List<YaoZhWang> selectUrlIsNull(SqlSession session) {
        return null;
    }

    public void updateShiY(Integer id, String shiY, SqlSession sqlSession) {

    }

    public YaoZhWang selectByApplyNo(SqlSession sqlSession, String applyNo) {
        return null;
    }

    public YaoZhWang selectByName(SqlSession sqlSession, String medicineName) {
        return null;
    }
}
